from django.contrib import admin
from django.urls import path
from cake import views
from rest_framework.routers import SimpleRouter

urlpatterns = [
    path("banner/",views.BannerView.as_view()),
    path("jp/",views.CakeJPView.as_view()),
    path("cakecate/",views.CakeCateView.as_view()),
    path("category/",views.Category.as_view()),
    path("cakelist/",views.CakeView.as_view()),
    path("bread/",views.BreadView.as_view()),
    path("rollscate/",views.RollsView.as_view()),
    path("demil/",views.DemilView.as_view()),
    path("CakeDetail/",views.CakeDetailView.as_view())
]

router = SimpleRouter()
router.register('select', views.SelectView)
urlpatterns += router.urls
